﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DynCRMMessagingIntegration.Common
{
    public abstract class BaseMessageProcessor : IMessageProcessor
    {
        public string XMLMessage
        {
            get;
            private set;
        }

        public BaseMessageProcessor(string xmlMessage)
        {
            this.XMLMessage = xmlMessage;
        }

        public abstract void Execute(MessageProcessorContext context);
    }
}
